<?php
namespace app\admin\validate;

use think\Validate;
use Session;

class AddRole extends Validate
{
    protected $rule =   [
        'name'  => 'require',

    ];

    protected $message  =   [
        'name.require' => '名称必须填写',
    ];


    public function checkDo($param){


        return $this->check($param);
    }



}